using Finance.Api.Read.Dtos;
using Finance.Domain;
using Finance.ErrorCode;
using MediatR;

namespace Finance.Api.Read.Applications.Commands.库存调拨
{
    public class DeploymentQueryCommand : IRequest<ApiResult<ApiPaging<List<DeploymentDto>>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int index { get; set; }

        /// <summary>
        /// 每页大小
        /// </summary>
        public int size { get; set; }

        /// <summary>
        /// 调拨单号
        /// </summary>
        public string Deployment { get; set; }

        /// <summary>
        /// 调拨类型
        /// </summary>
        public string DeploymentStyle { get; set; }

        /// <summary>
        /// 调入仓库
        /// </summary>
        public string DeploymentInto { get; set; }

        /// <summary>
        /// 调出仓库
        /// </summary>
        public string DeploymentOut { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 创建人员
        /// </summary>
        public string CreateName { get; set; }
    }
} 